Open Hank10032 opened 1 year ago
Sorry for the delayed response. I will check the app.py tomorrow.
Thanks
I also encountered the same problem I think app. py is correct. This may be a problem with the Gradio box, as I did not succeed in using the mini demo (app_box. py) of the Gradio box. It will output an error on the right after clicking submit I encountered the same issue configuring the Gradio box and GPT4RoI on both machines
@Hank10032 @Hank10032
I have released the weights and you can try them now. Make sure you use the --model
to pass the merged weights.
The installation of the Gradio box may not be easy, so please make sure to follow the installation instructions carefully and ensure that you do not encounter any errors when running the bash scripts/build_frontend.sh
command.
@jshilong @Hank10032 @sysoda Hello, I make sure to follow the installation instructions carefully without errors. I still encounter the same problem. Can you provide some information to resolve it? Thanks a lot.
I meet the same problem. I follow the intallation instructions in gradio-box and no errors in this process.
After running app.py
, I draw the box and enter the text. However, no response returns.
@linhaojia13 @LiWentomng Fixing the pydantic error helped me solve this issue.
@linhaojia13 @LiWentomng Fixing the pydantic error helped me solve this issue.
@hanoonaR Thank you very much for your reply! Could you please elaborate on what is pydantic error and how you resolved it? I don't recall encountering pydantic error during my usage.
I meet the same problem. I follow the intallation instructions in gradio-box and no errors in this process. After running
app.py
, I draw the box and enter the text. However, no response returns.
@hanoonaR Is the situation I encountered the same as yours?
Hi @linhaojia13 ,
Could you please post the terminal log after entering the text?
Hi @linhaojia13 ,
Could you please post the terminal log after entering the text?
Hi@ShoufaChen, no additional terminal output returns after entering the text, which is as follows:
.weight']
- This IS expected if you are initializing CLIPVisionModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing CLIPVisionModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/image.py:400: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/chatbot.py:228: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/textbox.py:259: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
Running on local URL: http://0.0.0.0:20012
To create a public link, set `share=True` in `launch()`.
can you write some print lines around https://github.com/jshilong/GPT4RoI/blob/main/gpt4roi/app.py#L378.
in order to check whether the program step into this function.
It seems the program doesn't step into this function.
I add two print line:
class ImageSketcher(gr.Image):
"""Code is from https://github.com/ttengwang/Caption-
Anything/blob/main/app.py#L32.
Fix the bug of gradio.Image that cannot upload with tool == 'sketch'.
"""
is_template = True # Magic to make this work with gradio.Block, don't remove unless you know what you're doing.
def __init__(self, **kwargs):
super().__init__(tool='boxes', **kwargs)
def preprocess(self, x):
print("#####################into the ImageSketcher preprocess")
if x is None:
print("#####################into the ImageSketcher preprocess if x is None")
return x
But no print returns after entering the text:
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/image.py:400: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/chatbot.py:228: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
/home/lhj/codes_MLLM/GPT4RoI/gradio-dev/gradio/components/textbox.py:259: UserWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
warnings.warn(
Running on local URL: http://0.0.0.0:20012
To create a public link, set `share=True` in `launch()`.
Normally, it should print these lines.
Did you make any modifications to the app.py
?
As you see, I didn't make any modifications to `app.py' besides the print lines:
can you success with this mini-demo? https://github.com/ShoufaChen/gradio-box/blob/main/app_box.py
The usage can be found in https://github.com/ShoufaChen/gradio-box#usage
When I run the mini-demo of gradio-box, I can draw box but it returns errors when I click the submit button:
could you please check the terminal log? what's the log?
No error infomation shows in the terminal:
Does your current Node.js and othet packages meet the requirements?
I follow the installation instructions to install Node.js and othet packages for gradio-box. The version of Node.js and pnpm:
All packages satisfy the requirements except that pnpm
should be 8.6.2
. I am not sure whether it is important.
And can you post the log after the command:
bash scripts/build_frontend.sh
The log is as follow:
(gpt4roi) lhj@44:~/codes_MLLM/GPT4RoI/gradio-dev$ bash scripts/build_frontend.sh
Building the frontend...
Scope: all 34 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 1.2s
> gradio-ui@0.0.1 build /home/lhj/codes_MLLM/GPT4RoI/gradio-dev
> pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app build:local --emptyOutDir
> gradio-ui@0.0.1 css /home/lhj/codes_MLLM/GPT4RoI/gradio-dev
> pnpm --filter @gradio/theme generate
> @gradio/theme@0.0.1 generate /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/theme
> pollen -c src/pollen.config.cjs
> @gradio/client@0.1.2 build /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> pnpm bundle && pnpm generate_types
> @gradio/client@0.1.2 bundle /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> vite build --ssr
vite v4.2.1 building SSR bundle for production...
✓ 44 modules transformed.
dist/index.js 33.36 kB
dist/wrapper-b7460963.js 102.28 kB
✓ built in 481ms
> @gradio/client@0.1.2 generate_types /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> tsc
> @gradio/app@1.0.0 build:local /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app
> vite build --mode production:local --emptyOutDir "--emptyOutDir"
vite v4.2.1 building for production:local...
transforming (1) index.html3:35:07 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Index.svelte:230:2 <Login/> will not be reactive if Login changes. Use <svelte:component this={Login}/> if you want this reactivity.
228: {/if}
229: {#if config?.auth_required && Login}
230: <Login
^
231: auth_message={config.auth_message}
232: root={config.root}
3:35:07 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Index.svelte:237:2 <Blocks/> will not be reactive if Blocks changes. Use <svelte:component this={Blocks}/> if you want this reactivity.
235: />
236: {:else if config && Blocks && css_ready}
237: <Blocks
^
238: {app}
239: {...config}
transforming (6) ../theme/src/index.ts3:35:07 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Embed.svelte:37:31 A11y: <img> element should have an alt attribute
35: Hosted on
36: <a class="hf" href="https://huggingface.co/spaces"
37: ><span class="space-logo"><img src={space_logo} /></span> Spaces</a
^
38: >
39: </span>
3:35:08 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Blocks.svelte:397:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
395: {#if api_docs_visible && ready}
396: <div class="api-docs">
397: <div
^
398: class="backdrop"
399: on:click={() => {
transforming (42) src/i18n.ts3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ApiDocs.svelte:123:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
121: <div class="snippets">
122: {#each langs as [language, img]}
123: <li
^
124: class="snippet
125: {current_language === language ? 'current-lang' : 'inactive-lang'}"
transforming (121) src/api_docs/ApiBanner.svelte3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:3:11 ResponseObject has unused export property 'dependency'. If it is for external reference only, please consider using `export const dependency`
1: <script lang="ts">import Loader from "../components/StatusTracker/Loader.svelte";
2: import { Block } from "@gradio/atoms";
3: export let dependency;
^
4: export let dependency_index;
5: export let instance_map;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:4:11 ResponseObject has unused export property 'dependency_index'. If it is for external reference only, please consider using `export const dependency_index`
2: import { Block } from "@gradio/atoms";
3: export let dependency;
4: export let dependency_index;
^
5: export let instance_map;
6: export let dependency_outputs;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:5:11 ResponseObject has unused export property 'instance_map'. If it is for external reference only, please consider using `export const instance_map`
3: export let dependency;
4: export let dependency_index;
5: export let instance_map;
^
6: export let dependency_outputs;
7: export let is_running;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:6:11 ResponseObject has unused export property 'dependency_outputs'. If it is for external reference only, please consider using `export const dependency_outputs`
4: export let dependency_index;
5: export let instance_map;
6: export let dependency_outputs;
^
7: export let is_running;
8: export let root;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:8:11 ResponseObject has unused export property 'root'. If it is for external reference only, please consider using `export const root`
6: export let dependency_outputs;
7: export let is_running;
8: export let root;
^
9: export let endpoint_returns;
10: export let js_returns;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:11:11 ResponseObject has unused export property 'named'. If it is for external reference only, please consider using `export const named`
9: export let endpoint_returns;
10: export let js_returns;
11: export let named;
^
12: export let current_language;
13: </script>
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:6:11 CodeSnippets has unused export property 'dependencies'. If it is for external reference only, please consider using `export const dependencies`
4: import EndpointDetail from "./EndpointDetail.svelte";
5: export let dependency;
6: export let dependencies;
^
7: export let dependency_index;
8: export let instance_map;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:8:11 CodeSnippets has unused export property 'instance_map'. If it is for external reference only, please consider using `export const instance_map`
6: export let dependencies;
7: export let dependency_index;
8: export let instance_map;
^
9: export let root;
10: export let dependency_inputs;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:10:11 CodeSnippets has unused export property 'dependency_inputs'. If it is for external reference only, please consider using `export const dependency_inputs`
8: export let instance_map;
9: export let root;
10: export let dependency_inputs;
^
11: export let dependency_failures;
12: export let endpoint_parameters;
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/TryButton.svelte:3:11 TryButton has unused export property 'named'. If it is for external reference only, please consider using `export const named`
1: <script lang="ts">import { Button } from "@gradio/button";
2: export let dependency_index;
3: export let named;
^
4: export let run;
5: </script>
transforming (139) src/components/Group/Group.svelte3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/components/Dataset/Dataset.svelte:178:1 Unused CSS selector ".wrap"
176:
177: <style>
178: .wrap {
^
179: display: inline-block;
180: width: var(--size-full);
3:35:09 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/components/Dataset/Dataset.svelte:185:1 Unused CSS selector ".hide"
183: }
184:
185: .hide {
^
186: display: none;
187: }
transforming (186) ../atoms/src/BlockTitle.svelte3:35:10 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/atoms/src/BlockLabel.svelte:15:2 <Icon/> will not be reactive if Icon changes. Use <svelte:component this={Icon}/> if you want this reactivity.
13: >
14: <span>
15: <Icon />
^
16: </span>
17:
3:35:10 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/atoms/src/IconButton.svelte:6:6 <Icon/> will not be reactive if Icon changes. Use <svelte:component this={Icon}/> if you want this reactivity.
4:
5: <button on:click aria-label={label}>
6: <div><Icon /></div>
^
7: </button>
8:
transforming (201) ../form/src/Range.svelte3:35:11 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/form/src/DropdownOptions.svelte:56:3 A11y: Non-interactive element <li> cannot have interactive role 'button'
54: >
55: {#each filtered as choice}
56: <li
^
57: class="item"
58: role="button"
3:35:11 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/form/src/DropdownOptions.svelte:47:2 A11y: The attribute 'aria-expanded' is not supported by the role 'list'. This role is implicit on the element <ul>.
45: <ul
46: class="options"
47: aria-expanded={showOptions}
^
48: transition:fly={{ duration: 200, y: 5 }}
49: on:mousedown|preventDefault={(e) => dispatch("change", e)}
transforming (241) ../form/src/DropdownOptions.svelte3:35:11 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/upload/src/Upload.svelte:79:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
77: </script>
78:
79: <div
^
80: class:center
81: class:boundedheight
transforming (282) ../icons/src/Music.svelte3:35:11 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/accordion/src/Accordion.svelte:5:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
3: </script>
4:
5: <div on:click={() => (open = !open)} class="label-wrap" class:open>
^
6: <span>{label}</span>
7: <span style:transform={open ? "rotate(0)" : "rotate(90deg)"} class="icon">
3:35:11 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/gallery/src/Gallery.svelte:148:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
146: <ModifyUpload on:clear={() => (selected_image = null)} />
147:
148: <img
^
149: data-testid="detailed-image"
150: on:click={() => (selected_image = next)}
3:35:12 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/table/src/Table.svelte:459:9 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
457: />
458:
459: <div
^
460: class:sorted={sort_by === i}
461: class:des={sort_by === i && sort_direction === "des"}
3:35:12 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/table/src/Table.svelte:485:8 A11y: noninteractive element cannot have nonnegative tabIndex value
483: <tr>
484: {#each row as { value, id }, j (id)}
485: <td
^
486: tabindex="0"
487: bind:this={els[id].cell}
transforming (311) src/components/Interpretation/InterpretationComponents/Radio.svelte3:35:12 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/highlighted-text/src/HighlightedText.svelte:106:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
104: <div class="textfield">
105: {#each value as [text, category], i}
106: <span
^
107: class="textspan"
108: style:background-color={category === null ||
transforming (350) ../code/interactive/Download.svelte3:35:13 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/label/src/Label.svelte:20:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
18: {#if typeof value === "object" && value.confidences}
19: {#each value.confidences as confidence_set, i}
20: <div
^
21: class="confidence-set group"
22: class:selectable
transforming (433) ../../node_modules/.pnpm/@codemirror+lang-python@6.0.4/node_modules/@codemirror/lang-python/dist/index.js3:35:14 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:97:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
95: <div class="controls">
96: <div class="inner">
97: <span class="icon" on:click={play_pause}>
^
98: {#if time === duration}
99: <Undo />
3:35:14 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:108:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
106:
107: <span class="time">{format(time)} / {format(duration)}</span>
108: <progress
^
109: value={time / duration || 0}
110: on:mousemove={handleMove}
3:35:14 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:115:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
113: />
114:
115: <div class="icon" on:click={() => video.requestFullscreen()}>
^
116: <Maximise />
117: </div>
transforming (617) ../../node_modules/.pnpm/extendable-media-recorder@7.0.2/node_modules/extendable-media-recorder/build/es2019/types/decode-web-m-3:35:22 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:174:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
172: >
173: {#if ( all && first !== false ) || first }
174: <span
^
175: class="pip first"
176: class:selected={isSelected(min)}
3:35:22 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:193:8 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
191: {#each Array(pipCount + 1) as _, i}
192: {#if pipVal(i) !== min && pipVal(i) !== max}
193: <span
^
194: class="pip"
195: class:selected={isSelected(pipVal(i))}
3:35:22 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:212:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
210:
211: {#if ( all && last !== false ) || last}
212: <span
^
213: class="pip last"
214: class:selected={isSelected(max)}
✓ 2280 modules transformed.
../../gradio/templates/frontend/assets/spaces-a79177ad.svg 0.72 kB
../../gradio/templates/frontend/assets/javascript-850cf94b.svg 0.74 kB
../../gradio/templates/frontend/assets/logo-0a070fcf.svg 0.92 kB
../../gradio/templates/frontend/assets/python-20e39c92.svg 1.11 kB
../../gradio/templates/frontend/assets/api-logo-5346f193.svg 1.54 kB
../../gradio/templates/frontend/index.html 2.10 kB
../../gradio/templates/frontend/assets/KaTeX_Size3-Regular-6ab6b62e.woff 4.42 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-a4af7d41.woff2 4.93 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-d04c5421.woff2 5.21 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-6b47c401.woff2 5.47 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-99f9c675.woff 5.98 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-2014c523.woff 6.19 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-c943cc98.woff 6.50 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 6.91 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 6.91 kB
../../gradio/templates/frontend/assets/KaTeX_Size3-Regular-500e04d5.ttf 7.59 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-3398dd02.woff 7.66 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff 7.72 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-036d4e95.woff2 9.64 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 10.34 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-c647367d.ttf 10.36 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-d96cdf2b.woff 10.59 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-51814d27.woff2 11.32 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-74444efd.woff2 11.35 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-a6b2099f.ttf 11.51 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 12.03 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 12.22 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-95b6d2f1.ttf 12.23 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff 12.32 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf 12.34 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf 12.37 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-5e28753b.woff 13.21 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff 13.30 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 13.57 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-91ee6750.woff 14.11 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-ece03cfd.woff 14.41 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-e14fed02.woff 16.03 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 16.40 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-7af58c5e.woff2 16.44 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-1c67f068.ttf 16.65 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 16.78 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-97479ca6.woff2 16.99 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-850c0af5.woff 18.67 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-8a8d2445.woff 18.75 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff 19.41 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-f36ea897.ttf 19.44 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf 19.57 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-9163df9c.ttf 19.58 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-f1d6ef86.woff 19.68 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-3931dd81.ttf 22.36 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf 24.50 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-0f60d1b8.woff2 25.32 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-c2342cd8.woff2 26.27 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf 27.56 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-0cdd387c.woff2 28.08 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-c76c5d69.woff 29.91 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-c6368d87.woff 30.77 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf 31.20 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-08ce98e5.ttf 31.31 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf 32.97 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-30da91e8.woff 33.52 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-0d85ae7c.ttf 33.58 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-138ac28d.ttf 51.34 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-d0332f52.ttf 53.58 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-68534840.ttf 63.63 kB
../../gradio/templates/frontend/assets/index-03d58ab8.css 0.03 kB │ gzip: 0.05 kB
../../gradio/templates/frontend/assets/Model3D-98fc2b2c.css 0.06 kB │ gzip: 0.07 kB
../../gradio/templates/frontend/assets/DropdownArrow-5fa4dd09.css 0.11 kB │ gzip: 0.11 kB
../../gradio/templates/frontend/assets/index-329f8260.css 0.15 kB │ gzip: 0.13 kB
../../gradio/templates/frontend/assets/UploadText-33d53a1c.css 0.30 kB │ gzip: 0.20 kB
../../gradio/templates/frontend/assets/index-8f1feca1.css 0.31 kB │ gzip: 0.19 kB
../../gradio/templates/frontend/assets/index-7028de6e.css 0.39 kB │ gzip: 0.15 kB
../../gradio/templates/frontend/assets/Image-003ee87c.css 0.41 kB │ gzip: 0.19 kB
../../gradio/templates/frontend/assets/Form-189d7bad.css 0.42 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/index-edf307d2.css 0.42 kB │ gzip: 0.24 kB
../../gradio/templates/frontend/assets/ModifyUpload-77b0d4b2.css 0.42 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/index-4ffdbeab.css 0.48 kB │ gzip: 0.21 kB
../../gradio/templates/frontend/assets/Column-2853eb31.css 0.50 kB │ gzip: 0.25 kB
../../gradio/templates/frontend/assets/index-93c91554.css 0.55 kB │ gzip: 0.28 kB
../../gradio/templates/frontend/assets/index-2908e8a9.css 0.56 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/Login-9c3cc0eb.css 0.58 kB │ gzip: 0.26 kB
../../gradio/templates/frontend/assets/index-aef3869a.css 0.89 kB │ gzip: 0.29 kB
../../gradio/templates/frontend/assets/index-f724f960.css 1.02 kB │ gzip: 0.36 kB
../../gradio/templates/frontend/assets/TabItem-e9c69a3d.css 1.15 kB │ gzip: 0.41 kB
../../gradio/templates/frontend/assets/index-9da94804.css 1.20 kB │ gzip: 0.39 kB
../../gradio/templates/frontend/assets/index-3ca142e0.css 1.29 kB │ gzip: 0.49 kB
../../gradio/templates/frontend/assets/index-4ccfb72c.css 1.38 kB │ gzip: 0.52 kB
../../gradio/templates/frontend/assets/index-cc2431f4.css 1.52 kB │ gzip: 0.47 kB
../../gradio/templates/frontend/assets/index-b0e0d494.css 1.78 kB │ gzip: 0.61 kB
../../gradio/templates/frontend/assets/index-928645ac.css 1.92 kB │ gzip: 0.59 kB
../../gradio/templates/frontend/assets/StaticImage-75094890.css 2.58 kB │ gzip: 0.74 kB
../../gradio/templates/frontend/assets/prism-dark-9a7d92a0.css 2.60 kB │ gzip: 0.72 kB
../../gradio/templates/frontend/assets/prism-3b82e127.css 3.09 kB │ gzip: 0.73 kB
../../gradio/templates/frontend/assets/index-b6b90748.css 3.46 kB │ gzip: 0.90 kB
../../gradio/templates/frontend/assets/index-9ae8fa0e.css 4.29 kB │ gzip: 1.00 kB
../../gradio/templates/frontend/assets/index-5f99c335.css 4.47 kB │ gzip: 1.00 kB
../../gradio/templates/frontend/assets/index-6acaa952.css 5.35 kB │ gzip: 1.02 kB
../../gradio/templates/frontend/assets/Button-ee8bd9eb.css 5.35 kB │ gzip: 1.19 kB
../../gradio/templates/frontend/assets/index-de9ed39e.css 7.01 kB │ gzip: 1.57 kB
../../gradio/templates/frontend/assets/Blocks-e1f8fadf.css 9.80 kB │ gzip: 1.88 kB
../../gradio/templates/frontend/assets/ColorPicker-b87f01f2.css 12.03 kB │ gzip: 1.66 kB
../../gradio/templates/frontend/assets/index-c64de0ea.css 29.12 kB │ gzip: 6.78 kB
../../gradio/templates/frontend/assets/index-cd9e7ee3.css 42.52 kB │ gzip: 9.14 kB
../../gradio/templates/frontend/assets/__vite-browser-external-b25bb000.js 0.09 kB │ gzip: 0.11 kB │ map: 0.21 kB
../../gradio/templates/frontend/assets/color-0fbfd62b.js 0.13 kB │ gzip: 0.14 kB │ map: 0.42 kB
../../gradio/templates/frontend/assets/index-9f376cf2.js 0.14 kB │ gzip: 0.14 kB │ map: 0.29 kB
../../gradio/templates/frontend/assets/csv-b0b7514a.js 0.14 kB │ gzip: 0.14 kB │ map: 0.64 kB
../../gradio/templates/frontend/assets/index-1a7fc606.js 0.16 kB │ gzip: 0.16 kB │ map: 0.28 kB
../../gradio/templates/frontend/assets/index-8d9f7bf5.js 0.23 kB │ gzip: 0.18 kB │ map: 0.28 kB
../../gradio/templates/frontend/assets/_commonjsHelpers-725317a4.js 0.29 kB │ gzip: 0.23 kB │ map: 0.11 kB
../../gradio/templates/frontend/assets/index-a482d71f.js 0.33 kB │ gzip: 0.26 kB │ map: 0.57 kB
../../gradio/templates/frontend/assets/ModifyUpload.svelte_svelte_type_style_lang-d2acacf0.js 0.50 kB │ gzip: 0.34 kB │ map: 2.45 kB
../../gradio/templates/frontend/assets/index-e994a70e.js 0.54 kB │ gzip: 0.32 kB │ map: 0.63 kB
../../gradio/templates/frontend/assets/Download-4b8ec8e1.js 0.60 kB │ gzip: 0.43 kB │ map: 0.53 kB
../../gradio/templates/frontend/assets/Info-266b58a5.js 0.68 kB │ gzip: 0.47 kB │ map: 0.47 kB
../../gradio/templates/frontend/assets/File-ef138bfc.js 0.73 kB │ gzip: 0.46 kB │ map: 0.67 kB
../../gradio/templates/frontend/assets/Model3D-b7ea2a4f.js 0.79 kB │ gzip: 0.49 kB │ map: 0.96 kB
../../gradio/templates/frontend/assets/Image-e13f5693.js 0.83 kB │ gzip: 0.48 kB │ map: 0.75 kB
../../gradio/templates/frontend/assets/Image-e276033b.js 0.89 kB │ gzip: 0.52 kB │ map: 1.61 kB
../../gradio/templates/frontend/assets/Form-2febdc0f.js 1.05 kB │ gzip: 0.63 kB │ map: 1.32 kB
../../gradio/templates/frontend/assets/UploadText-62b2f542.js 1.07 kB │ gzip: 0.63 kB │ map: 1.71 kB
../../gradio/templates/frontend/assets/index-23384a20.js 1.10 kB │ gzip: 0.64 kB │ map: 1.47 kB
../../gradio/templates/frontend/assets/Copy-94c1295d.js 1.11 kB │ gzip: 0.54 kB │ map: 0.99 kB
../../gradio/templates/frontend/assets/frontmatter-0618a5b6.js 1.16 kB │ gzip: 0.63 kB │ map: 3.10 kB
../../gradio/templates/frontend/assets/BlockLabel-3293803b.js 1.18 kB │ gzip: 0.66 kB │ map: 2.27 kB
../../gradio/templates/frontend/assets/index-b69d5ae6.js 1.27 kB │ gzip: 0.71 kB │ map: 0.72 kB
../../gradio/templates/frontend/assets/Empty-60c3cd08.js 1.43 kB │ gzip: 0.79 kB │ map: 2.25 kB
../../gradio/templates/frontend/assets/index-84484e8b.js 1.52 kB │ gzip: 0.78 kB │ map: 2.25 kB
../../gradio/templates/frontend/assets/yaml-95012b83.js 1.56 kB │ gzip: 0.76 kB │ map: 5.01 kB
../../gradio/templates/frontend/assets/module-a3cf0cc4.js 1.67 kB │ gzip: 0.90 kB │ map: 11.69 kB
../../gradio/templates/frontend/assets/BlockTitle-a8c85430.js 1.68 kB │ gzip: 0.92 kB │ map: 1.65 kB
../../gradio/templates/frontend/assets/Column-1982b173.js 1.71 kB │ gzip: 0.88 kB │ map: 2.17 kB
../../gradio/templates/frontend/assets/index-d490cd7e.js 1.80 kB │ gzip: 0.96 kB │ map: 1.09 kB
../../gradio/templates/frontend/assets/index-9b693ee9.js 1.90 kB │ gzip: 1.02 kB │ map: 2.03 kB
../../gradio/templates/frontend/assets/dsv-576afacd.js 2.19 kB │ gzip: 1.04 kB │ map: 9.55 kB
../../gradio/templates/frontend/assets/shell-86dd1d99.js 2.60 kB │ gzip: 1.23 kB │ map: 8.73 kB
../../gradio/templates/frontend/assets/index-ba579e4e.js 2.67 kB │ gzip: 1.58 kB │ map: 5.91 kB
../../gradio/templates/frontend/assets/r-3ca97919.js 2.97 kB │ gzip: 1.39 kB │ map: 10.59 kB
../../gradio/templates/frontend/assets/TabItem.svelte_svelte_type_style_lang-2b424fbd.js 3.02 kB │ gzip: 1.54 kB │ map: 5.25 kB
../../gradio/templates/frontend/assets/index-c91384f7.js 3.06 kB │ gzip: 1.38 kB │ map: 3.16 kB
../../gradio/templates/frontend/assets/index-3ab1986c.js 3.12 kB │ gzip: 1.44 kB │ map: 3.56 kB
../../gradio/templates/frontend/assets/index-7cecf8ae.js 3.25 kB │ gzip: 1.47 kB │ map: 4.06 kB
../../gradio/templates/frontend/assets/Upload-b264d2f5.js 3.34 kB │ gzip: 1.52 kB │ map: 5.72 kB
../../gradio/templates/frontend/assets/ModifyUpload-b81b0657.js 3.56 kB │ gzip: 1.54 kB │ map: 4.09 kB
../../gradio/templates/frontend/assets/index-1e1679ce.js 3.59 kB │ gzip: 1.56 kB │ map: 2.68 kB
../../gradio/templates/frontend/assets/dockerfile-d67bbd50.js 4.18 kB │ gzip: 1.68 kB │ map: 14.84 kB
../../gradio/templates/frontend/assets/Login-8feeaa34.js 4.19 kB │ gzip: 1.85 kB │ map: 4.20 kB
../../gradio/templates/frontend/assets/index-37761f98.js 4.87 kB │ gzip: 2.09 kB │ map: 5.71 kB
../../gradio/templates/frontend/assets/Button-b7606aab.js 5.08 kB │ gzip: 2.11 kB │ map: 21.64 kB
../../gradio/templates/frontend/assets/index-b59aea8b.js 5.34 kB │ gzip: 2.32 kB │ map: 6.21 kB
../../gradio/templates/frontend/assets/index-022758ca.js 5.63 kB │ gzip: 2.47 kB │ map: 8.55 kB
../../gradio/templates/frontend/assets/index-4c345cd6.js 5.84 kB │ gzip: 2.33 kB │ map: 4.38 kB
../../gradio/templates/frontend/assets/index-5f583a2e.js 6.02 kB │ gzip: 2.50 kB │ map: 6.96 kB
../../gradio/templates/frontend/assets/index-b8e1bb64.js 6.07 kB │ gzip: 2.61 kB │ map: 8.15 kB
../../gradio/templates/frontend/assets/index-bbfa8cab.js 6.10 kB │ gzip: 2.64 kB │ map: 7.31 kB
../../gradio/templates/frontend/assets/index-d6f37ded.js 7.19 kB │ gzip: 2.99 kB │ map: 9.44 kB
../../gradio/templates/frontend/assets/index-25cdba87.js 7.63 kB │ gzip: 3.03 kB │ map: 8.36 kB
../../gradio/templates/frontend/assets/module-a5a0afa0.js 10.07 kB │ gzip: 4.16 kB │ map: 13.01 kB
../../gradio/templates/frontend/assets/index-382170fc.js 11.12 kB │ gzip: 4.10 kB │ map: 15.55 kB
../../gradio/templates/frontend/assets/Textbox-1c2338d2.js 12.34 kB │ gzip: 4.32 kB │ map: 13.19 kB
../../gradio/templates/frontend/assets/index-96ec1cd1.js 12.58 kB │ gzip: 4.33 kB │ map: 11.99 kB
../../gradio/templates/frontend/assets/index-cf45da23.js 12.78 kB │ gzip: 5.00 kB │ map: 21.54 kB
../../gradio/templates/frontend/assets/index-e87b1906.js 13.00 kB │ gzip: 4.65 kB │ map: 16.47 kB
../../gradio/templates/frontend/assets/index-4e4d1e02.js 14.42 kB │ gzip: 5.69 kB │ map: 23.84 kB
../../gradio/templates/frontend/assets/index-c661a92d.js 17.10 kB │ gzip: 4.56 kB │ map: 26.59 kB
../../gradio/templates/frontend/assets/index-2db32c39.js 18.42 kB │ gzip: 6.66 kB │ map: 29.37 kB
../../gradio/templates/frontend/assets/index-016e370e.js 20.75 kB │ gzip: 6.81 kB │ map: 24.28 kB
../../gradio/templates/frontend/assets/index-f2683e77.js 21.42 kB │ gzip: 8.06 kB │ map: 43.27 kB
../../gradio/templates/frontend/assets/index-9107f8d6.js 22.10 kB │ gzip: 9.58 kB │ map: 41.15 kB
../../gradio/templates/frontend/assets/linear-58a44b5e.js 23.16 kB │ gzip: 9.26 kB │ map: 94.67 kB
../../gradio/templates/frontend/assets/index-c89f369f.js 25.09 kB │ gzip: 6.77 kB │ map: 36.34 kB
../../gradio/templates/frontend/assets/index-ca4bed01.js 26.23 kB │ gzip: 8.75 kB │ map: 108.27 kB
../../gradio/templates/frontend/assets/index-87955ed5.js 31.01 kB │ gzip: 11.88 kB │ map: 77.80 kB
../../gradio/templates/frontend/assets/index-aa64d725.js 35.91 kB │ gzip: 11.88 kB │ map: 64.76 kB
../../gradio/templates/frontend/assets/index-6b26d815.js 39.95 kB │ gzip: 13.66 kB │ map: 158.03 kB
../../gradio/templates/frontend/assets/wrapper-b7460963-69b64cfb.js 43.63 kB │ gzip: 13.05 kB │ map: 161.10 kB
../../gradio/templates/frontend/assets/StaticImage.svelte_svelte_type_style_lang-0566c0a3.js 52.02 kB │ gzip: 16.75 kB │ map: 223.22 kB
../../gradio/templates/frontend/assets/index-92842040.js 52.43 kB │ gzip: 15.09 kB │ map: 88.48 kB
../../gradio/templates/frontend/assets/index-4489a593.js 55.04 kB │ gzip: 19.40 kB │ map: 67.99 kB
../../gradio/templates/frontend/assets/index-cc93bd09.js 64.95 kB │ gzip: 24.29 kB │ map: 250.62 kB
../../gradio/templates/frontend/assets/index-e63b2f7b.js 79.74 kB │ gzip: 30.83 kB │ map: 109.31 kB
../../gradio/templates/frontend/assets/module-fcbc0651.js 93.51 kB │ gzip: 28.01 kB │ map: 580.09 kB
../../gradio/templates/frontend/assets/Blocks-bc7981ff.js 124.79 kB │ gzip: 38.25 kB │ map: 282.17 kB
../../gradio/templates/frontend/assets/index-854289ec.js 344.56 kB │ gzip: 111.37 kB │ map: 1,449.52 kB
../../gradio/templates/frontend/assets/index-43486035.js 368.54 kB │ gzip: 113.50 kB │ map: 1,363.39 kB
../../gradio/templates/frontend/assets/index-490a4868.js 3,545.83 kB │ gzip: 788.84 kB │ map: 6,715.33 kB
../../gradio/templates/frontend/assets/index-c5e20718.js 4,616.51 kB │ gzip: 1,432.92 kB │ map: 12,455.47 kB
(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 40.35s
(gpt4roi) lhj@44:~/codes_MLLM/GPT4RoI/gradio-dev$
It seems that the building process used the cached things. You need to delete your local gradio-box
folder and clone from https://github.com/ShoufaChen/gradio-box again.
Then do the building process.
I remove gradio-box and download it again. Then I bulid it. the demo doesn't work as before. The log is as follow :
(gpt4roi) lhj@44:~/codes_MLLM/GPT4RoI$ git clone https://github.com/ShoufaChen/gradio-dev.git
Cloning into 'gradio-dev'...
remote: Enumerating objects: 41312, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 41312 (delta 3), reused 6 (delta 1), pack-reused 41297
Receiving objects: 100% (41312/41312), 118.05 MiB | 4.37 MiB/s, done.
Resolving deltas: 100% (26751/26751), done.
(gpt4roi) lhj@44:~/codes_MLLM/GPT4RoI$ cd gradio-dev
(gpt4roi) lhj@44:~/codes_MLLM/GPT4RoI/gradio-dev$ bash scripts/build_frontend.sh
Building the frontend...
Scope: all 34 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +822
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 822, reused 808, downloaded 0, added 822, done
dependencies:
+ @changesets/changelog-github 0.4.8
+ @changesets/cli 2.26.1
+ @gradio/tootils 0.0.1 <- js/tootils
+ @playwright/test 1.27.1
+ @sveltejs/vite-plugin-svelte 1.0.0-next.44
+ @tailwindcss/forms 0.5.0
+ @testing-library/dom 8.11.3
+ @testing-library/jest-dom 5.16.5
+ @testing-library/svelte 3.1.0
+ @testing-library/user-event 13.5.0
+ autoprefixer 10.4.4
+ babylonjs 5.18.0
+ babylonjs-loaders 5.18.0
+ happy-dom 9.20.3
+ msw 1.0.0
+ node-html-parser 5.3.3
+ npm-run-all 4.1.5
+ playwright 1.27.1
+ plotly.js-dist-min 2.11.1
+ polka 1.0.0-next.22
+ pollen-css 4.6.1
+ postcss 8.4.6
+ postcss-custom-media 8.0.2
+ postcss-nested 5.0.6
+ postcss-prefix-selector 1.16.0
+ prettier 2.6.2
+ prettier-plugin-css-order 1.3.0
+ prettier-plugin-svelte 2.10.0
+ sirv 2.0.2
+ sirv-cli 2.0.2
+ svelte 3.59.1
+ svelte-check 3.1.4
+ svelte-i18n 3.6.0
+ svelte-preprocess 5.0.3
+ tailwindcss 3.1.6
+ tinyspy 0.3.0
+ typescript 4.7.4
+ vite 4.2.1
+ vitest 0.29.8
devDependencies:
+ @types/three 0.138.0
Done in 2.4s
> gradio-ui@0.0.1 build /home/lhj/codes_MLLM/GPT4RoI/gradio-dev
> pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app build:local --emptyOutDir
> gradio-ui@0.0.1 css /home/lhj/codes_MLLM/GPT4RoI/gradio-dev
> pnpm --filter @gradio/theme generate
> @gradio/theme@0.0.1 generate /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/theme
> pollen -c src/pollen.config.cjs
> @gradio/client@0.1.2 build /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> pnpm bundle && pnpm generate_types
> @gradio/client@0.1.2 bundle /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> vite build --ssr
vite v4.2.1 building SSR bundle for production...
✓ 44 modules transformed.
dist/index.js 33.36 kB
dist/wrapper-b7460963.js 102.28 kB
✓ built in 475ms
> @gradio/client@0.1.2 generate_types /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/client/js
> tsc
> @gradio/app@1.0.0 build:local /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app
> vite build --mode production:local --emptyOutDir "--emptyOutDir"
vite v4.2.1 building for production:local...
transforming (1) index.html3:43:16 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Index.svelte:230:2 <Login/> will not be reactive if Login changes. Use <svelte:component this={Login}/> if you want this reactivity.
228: {/if}
229: {#if config?.auth_required && Login}
230: <Login
^
231: auth_message={config.auth_message}
232: root={config.root}
3:43:16 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Index.svelte:237:2 <Blocks/> will not be reactive if Blocks changes. Use <svelte:component this={Blocks}/> if you want this reactivity.
235: />
236: {:else if config && Blocks && css_ready}
237: <Blocks
^
238: {app}
239: {...config}
transforming (6) ../theme/src/index.ts3:43:16 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Embed.svelte:37:31 A11y: <img> element should have an alt attribute
35: Hosted on
36: <a class="hf" href="https://huggingface.co/spaces"
37: ><span class="space-logo"><img src={space_logo} /></span> Spaces</a
^
38: >
39: </span>
3:43:17 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/Blocks.svelte:397:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
395: {#if api_docs_visible && ready}
396: <div class="api-docs">
397: <div
^
398: class="backdrop"
399: on:click={() => {
transforming (37) src/components/StatusTracker/StatusTracker.svelte3:43:17 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ApiDocs.svelte:123:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
121: <div class="snippets">
122: {#each langs as [language, img]}
123: <li
^
124: class="snippet
125: {current_language === language ? 'current-lang' : 'inactive-lang'}"
transforming (104) src/lang/ko.json3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:3:11 ResponseObject has unused export property 'dependency'. If it is for external reference only, please consider using `export const dependency`
1: <script lang="ts">import Loader from "../components/StatusTracker/Loader.svelte";
2: import { Block } from "@gradio/atoms";
3: export let dependency;
^
4: export let dependency_index;
5: export let instance_map;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:4:11 ResponseObject has unused export property 'dependency_index'. If it is for external reference only, please consider using `export const dependency_index`
2: import { Block } from "@gradio/atoms";
3: export let dependency;
4: export let dependency_index;
^
5: export let instance_map;
6: export let dependency_outputs;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:5:11 ResponseObject has unused export property 'instance_map'. If it is for external reference only, please consider using `export const instance_map`
3: export let dependency;
4: export let dependency_index;
5: export let instance_map;
^
6: export let dependency_outputs;
7: export let is_running;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:6:11 ResponseObject has unused export property 'dependency_outputs'. If it is for external reference only, please consider using `export const dependency_outputs`
4: export let dependency_index;
5: export let instance_map;
6: export let dependency_outputs;
^
7: export let is_running;
8: export let root;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:8:11 ResponseObject has unused export property 'root'. If it is for external reference only, please consider using `export const root`
6: export let dependency_outputs;
7: export let is_running;
8: export let root;
^
9: export let endpoint_returns;
10: export let js_returns;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/ResponseObject.svelte:11:11 ResponseObject has unused export property 'named'. If it is for external reference only, please consider using `export const named`
9: export let endpoint_returns;
10: export let js_returns;
11: export let named;
^
12: export let current_language;
13: </script>
transforming (129) src/api_docs/utils.ts3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:6:11 CodeSnippets has unused export property 'dependencies'. If it is for external reference only, please consider using `export const dependencies`
4: import EndpointDetail from "./EndpointDetail.svelte";
5: export let dependency;
6: export let dependencies;
^
7: export let dependency_index;
8: export let instance_map;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:8:11 CodeSnippets has unused export property 'instance_map'. If it is for external reference only, please consider using `export const instance_map`
6: export let dependencies;
7: export let dependency_index;
8: export let instance_map;
^
9: export let root;
10: export let dependency_inputs;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/CodeSnippets.svelte:10:11 CodeSnippets has unused export property 'dependency_inputs'. If it is for external reference only, please consider using `export const dependency_inputs`
8: export let instance_map;
9: export let root;
10: export let dependency_inputs;
^
11: export let dependency_failures;
12: export let endpoint_parameters;
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/api_docs/TryButton.svelte:3:11 TryButton has unused export property 'named'. If it is for external reference only, please consider using `export const named`
1: <script lang="ts">import { Button } from "@gradio/button";
2: export let dependency_index;
3: export let named;
^
4: export let run;
5: </script>
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/components/Dataset/Dataset.svelte:178:1 Unused CSS selector ".wrap"
176:
177: <style>
178: .wrap {
^
179: display: inline-block;
180: width: var(--size-full);
3:43:18 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/app/src/components/Dataset/Dataset.svelte:185:1 Unused CSS selector ".hide"
183: }
184:
185: .hide {
^
186: display: none;
187: }
transforming (188) ../../node_modules/.pnpm/@formatjs+fast-memoize@1.2.1/node_modules/@formatjs/fast-memoize/lib/index.js3:43:19 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/atoms/src/BlockLabel.svelte:15:2 <Icon/> will not be reactive if Icon changes. Use <svelte:component this={Icon}/> if you want this reactivity.
13: >
14: <span>
15: <Icon />
^
16: </span>
17:
3:43:19 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/atoms/src/IconButton.svelte:6:6 <Icon/> will not be reactive if Icon changes. Use <svelte:component this={Icon}/> if you want this reactivity.
4:
5: <button on:click aria-label={label}>
6: <div><Icon /></div>
^
7: </button>
8:
transforming (225) ../highlighted-text/src/index.ts3:43:20 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/accordion/src/Accordion.svelte:5:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
3: </script>
4:
5: <div on:click={() => (open = !open)} class="label-wrap" class:open>
^
6: <span>{label}</span>
7: <span style:transform={open ? "rotate(0)" : "rotate(90deg)"} class="icon">
transforming (283) ../icons/src/Sketch.svelte3:43:20 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/upload/src/Upload.svelte:79:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
77: </script>
78:
79: <div
^
80: class:center
81: class:boundedheight
3:43:20 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/gallery/src/Gallery.svelte:148:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
146: <ModifyUpload on:clear={() => (selected_image = null)} />
147:
148: <img
^
149: data-testid="detailed-image"
150: on:click={() => (selected_image = next)}
3:43:21 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/form/src/DropdownOptions.svelte:56:3 A11y: Non-interactive element <li> cannot have interactive role 'button'
54: >
55: {#each filtered as choice}
56: <li
^
57: class="item"
58: role="button"
3:43:21 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/form/src/DropdownOptions.svelte:47:2 A11y: The attribute 'aria-expanded' is not supported by the role 'list'. This role is implicit on the element <ul>.
45: <ul
46: class="options"
47: aria-expanded={showOptions}
^
48: transition:fly={{ duration: 200, y: 5 }}
49: on:mousedown|preventDefault={(e) => dispatch("change", e)}
transforming (314) src/components/Dataset/ExampleComponents/File.svelte3:43:21 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/table/src/Table.svelte:459:9 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
457: />
458:
459: <div
^
460: class:sorted={sort_by === i}
461: class:des={sort_by === i && sort_direction === "des"}
3:43:21 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/table/src/Table.svelte:485:8 A11y: noninteractive element cannot have nonnegative tabIndex value
483: <tr>
484: {#each row as { value, id }, j (id)}
485: <td
^
486: tabindex="0"
487: bind:this={els[id].cell}
transforming (326) ../image/src/StaticImage.svelte3:43:21 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/highlighted-text/src/HighlightedText.svelte:106:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
104: <div class="textfield">
105: {#each value as [text, category], i}
106: <span
^
107: class="textspan"
108: style:background-color={category === null ||
transforming (352) src/components/Interpretation/InterpretationComponents/Slider.svelte3:43:22 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/label/src/Label.svelte:20:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
18: {#if typeof value === "object" && value.confidences}
19: {#each value.confidences as confidence_set, i}
20: <div
^
21: class="confidence-set group"
22: class:selectable
transforming (439) ../../node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.1.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.3:43:23 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:97:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
95: <div class="controls">
96: <div class="inner">
97: <span class="icon" on:click={play_pause}>
^
98: {#if time === duration}
99: <Undo />
3:43:23 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:108:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
106:
107: <span class="time">{format(time)} / {format(duration)}</span>
108: <progress
^
109: value={time / duration || 0}
110: on:mousemove={handleMove}
3:43:23 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/js/video/src/Player.svelte:115:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
113: />
114:
115: <div class="icon" on:click={() => video.requestFullscreen()}>
^
116: <Maximise />
117: </div>
transforming (574) ../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRom.js3:43:33 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:174:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
172: >
173: {#if ( all && first !== false ) || first }
174: <span
^
175: class="pip first"
176: class:selected={isSelected(min)}
3:43:33 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:193:8 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
191: {#each Array(pipCount + 1) as _, i}
192: {#if pipVal(i) !== min && pipVal(i) !== max}
193: <span
^
194: class="pip"
195: class:selected={isSelected(pipVal(i))}
3:43:33 PM [vite-plugin-svelte] /home/lhj/codes_MLLM/GPT4RoI/gradio-dev/node_modules/.pnpm/svelte-range-slider-pips@2.0.2/node_modules/svelte-range-slider-pips/src/RangePips.svelte:212:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
210:
211: {#if ( all && last !== false ) || last}
212: <span
^
213: class="pip last"
214: class:selected={isSelected(max)}
✓ 2280 modules transformed.
../../gradio/templates/frontend/assets/spaces-a79177ad.svg 0.72 kB
../../gradio/templates/frontend/assets/javascript-850cf94b.svg 0.74 kB
../../gradio/templates/frontend/assets/logo-0a070fcf.svg 0.92 kB
../../gradio/templates/frontend/assets/python-20e39c92.svg 1.11 kB
../../gradio/templates/frontend/assets/api-logo-5346f193.svg 1.54 kB
../../gradio/templates/frontend/index.html 2.10 kB
../../gradio/templates/frontend/assets/KaTeX_Size3-Regular-6ab6b62e.woff 4.42 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-a4af7d41.woff2 4.93 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-d04c5421.woff2 5.21 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-6b47c401.woff2 5.47 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-99f9c675.woff 5.98 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-2014c523.woff 6.19 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-c943cc98.woff 6.50 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 6.91 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 6.91 kB
../../gradio/templates/frontend/assets/KaTeX_Size3-Regular-500e04d5.ttf 7.59 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-3398dd02.woff 7.66 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff 7.72 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-036d4e95.woff2 9.64 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 10.34 kB
../../gradio/templates/frontend/assets/KaTeX_Size4-Regular-c647367d.ttf 10.36 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-d96cdf2b.woff 10.59 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-51814d27.woff2 11.32 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-74444efd.woff2 11.35 kB
../../gradio/templates/frontend/assets/KaTeX_Size2-Regular-a6b2099f.ttf 11.51 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 12.03 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 12.22 kB
../../gradio/templates/frontend/assets/KaTeX_Size1-Regular-95b6d2f1.ttf 12.23 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff 12.32 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf 12.34 kB
../../gradio/templates/frontend/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf 12.37 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-5e28753b.woff 13.21 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff 13.30 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 13.57 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-91ee6750.woff 14.11 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-ece03cfd.woff 14.41 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-e14fed02.woff 16.03 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 16.40 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-7af58c5e.woff2 16.44 kB
../../gradio/templates/frontend/assets/KaTeX_Script-Regular-1c67f068.ttf 16.65 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 16.78 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-97479ca6.woff2 16.99 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-850c0af5.woff 18.67 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-8a8d2445.woff 18.75 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff 19.41 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Regular-f36ea897.ttf 19.44 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf 19.57 kB
../../gradio/templates/frontend/assets/KaTeX_Fraktur-Bold-9163df9c.ttf 19.58 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-f1d6ef86.woff 19.68 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Italic-3931dd81.ttf 22.36 kB
../../gradio/templates/frontend/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf 24.50 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-0f60d1b8.woff2 25.32 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-c2342cd8.woff2 26.27 kB
../../gradio/templates/frontend/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf 27.56 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-0cdd387c.woff2 28.08 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-c76c5d69.woff 29.91 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-c6368d87.woff 30.77 kB
../../gradio/templates/frontend/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf 31.20 kB
../../gradio/templates/frontend/assets/KaTeX_Math-Italic-08ce98e5.ttf 31.31 kB
../../gradio/templates/frontend/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf 32.97 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-30da91e8.woff 33.52 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Italic-0d85ae7c.ttf 33.58 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Bold-138ac28d.ttf 51.34 kB
../../gradio/templates/frontend/assets/KaTeX_Main-Regular-d0332f52.ttf 53.58 kB
../../gradio/templates/frontend/assets/KaTeX_AMS-Regular-68534840.ttf 63.63 kB
../../gradio/templates/frontend/assets/index-03d58ab8.css 0.03 kB │ gzip: 0.05 kB
../../gradio/templates/frontend/assets/Model3D-98fc2b2c.css 0.06 kB │ gzip: 0.07 kB
../../gradio/templates/frontend/assets/DropdownArrow-5fa4dd09.css 0.11 kB │ gzip: 0.11 kB
../../gradio/templates/frontend/assets/index-329f8260.css 0.15 kB │ gzip: 0.13 kB
../../gradio/templates/frontend/assets/UploadText-33d53a1c.css 0.30 kB │ gzip: 0.20 kB
../../gradio/templates/frontend/assets/index-8f1feca1.css 0.31 kB │ gzip: 0.19 kB
../../gradio/templates/frontend/assets/index-7028de6e.css 0.39 kB │ gzip: 0.15 kB
../../gradio/templates/frontend/assets/Image-003ee87c.css 0.41 kB │ gzip: 0.19 kB
../../gradio/templates/frontend/assets/index-edf307d2.css 0.42 kB │ gzip: 0.24 kB
../../gradio/templates/frontend/assets/Form-189d7bad.css 0.42 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/ModifyUpload-77b0d4b2.css 0.42 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/index-4ffdbeab.css 0.48 kB │ gzip: 0.21 kB
../../gradio/templates/frontend/assets/Column-2853eb31.css 0.50 kB │ gzip: 0.25 kB
../../gradio/templates/frontend/assets/index-93c91554.css 0.55 kB │ gzip: 0.28 kB
../../gradio/templates/frontend/assets/index-2908e8a9.css 0.56 kB │ gzip: 0.22 kB
../../gradio/templates/frontend/assets/Login-9c3cc0eb.css 0.58 kB │ gzip: 0.26 kB
../../gradio/templates/frontend/assets/index-aef3869a.css 0.89 kB │ gzip: 0.29 kB
../../gradio/templates/frontend/assets/index-f724f960.css 1.02 kB │ gzip: 0.36 kB
../../gradio/templates/frontend/assets/TabItem-e9c69a3d.css 1.15 kB │ gzip: 0.41 kB
../../gradio/templates/frontend/assets/index-9da94804.css 1.20 kB │ gzip: 0.39 kB
../../gradio/templates/frontend/assets/index-3ca142e0.css 1.29 kB │ gzip: 0.49 kB
../../gradio/templates/frontend/assets/index-4ccfb72c.css 1.38 kB │ gzip: 0.52 kB
../../gradio/templates/frontend/assets/index-cc2431f4.css 1.52 kB │ gzip: 0.47 kB
../../gradio/templates/frontend/assets/index-b0e0d494.css 1.78 kB │ gzip: 0.61 kB
../../gradio/templates/frontend/assets/index-928645ac.css 1.92 kB │ gzip: 0.59 kB
../../gradio/templates/frontend/assets/StaticImage-75094890.css 2.58 kB │ gzip: 0.74 kB
../../gradio/templates/frontend/assets/prism-dark-9a7d92a0.css 2.60 kB │ gzip: 0.72 kB
../../gradio/templates/frontend/assets/prism-3b82e127.css 3.09 kB │ gzip: 0.73 kB
../../gradio/templates/frontend/assets/index-b6b90748.css 3.46 kB │ gzip: 0.90 kB
../../gradio/templates/frontend/assets/index-9ae8fa0e.css 4.29 kB │ gzip: 1.00 kB
../../gradio/templates/frontend/assets/index-5f99c335.css 4.47 kB │ gzip: 1.00 kB
../../gradio/templates/frontend/assets/index-6acaa952.css 5.35 kB │ gzip: 1.02 kB
../../gradio/templates/frontend/assets/Button-ee8bd9eb.css 5.35 kB │ gzip: 1.19 kB
../../gradio/templates/frontend/assets/index-de9ed39e.css 7.01 kB │ gzip: 1.57 kB
../../gradio/templates/frontend/assets/Blocks-e1f8fadf.css 9.80 kB │ gzip: 1.88 kB
../../gradio/templates/frontend/assets/ColorPicker-b87f01f2.css 12.03 kB │ gzip: 1.66 kB
../../gradio/templates/frontend/assets/index-c64de0ea.css 29.12 kB │ gzip: 6.78 kB
../../gradio/templates/frontend/assets/index-cd9e7ee3.css 42.52 kB │ gzip: 9.14 kB
../../gradio/templates/frontend/assets/__vite-browser-external-b25bb000.js 0.09 kB │ gzip: 0.11 kB │ map: 0.21 kB
../../gradio/templates/frontend/assets/color-0fbfd62b.js 0.13 kB │ gzip: 0.14 kB │ map: 0.42 kB
../../gradio/templates/frontend/assets/index-9f376cf2.js 0.14 kB │ gzip: 0.14 kB │ map: 0.29 kB
../../gradio/templates/frontend/assets/csv-b0b7514a.js 0.14 kB │ gzip: 0.14 kB │ map: 0.64 kB
../../gradio/templates/frontend/assets/index-1a7fc606.js 0.16 kB │ gzip: 0.16 kB │ map: 0.28 kB
../../gradio/templates/frontend/assets/index-8d9f7bf5.js 0.23 kB │ gzip: 0.18 kB │ map: 0.28 kB
../../gradio/templates/frontend/assets/_commonjsHelpers-725317a4.js 0.29 kB │ gzip: 0.23 kB │ map: 0.11 kB
../../gradio/templates/frontend/assets/index-a482d71f.js 0.33 kB │ gzip: 0.26 kB │ map: 0.57 kB
../../gradio/templates/frontend/assets/ModifyUpload.svelte_svelte_type_style_lang-d2acacf0.js 0.50 kB │ gzip: 0.34 kB │ map: 2.45 kB
../../gradio/templates/frontend/assets/index-e994a70e.js 0.54 kB │ gzip: 0.32 kB │ map: 0.63 kB
../../gradio/templates/frontend/assets/Download-4b8ec8e1.js 0.60 kB │ gzip: 0.43 kB │ map: 0.53 kB
../../gradio/templates/frontend/assets/Info-266b58a5.js 0.68 kB │ gzip: 0.47 kB │ map: 0.47 kB
../../gradio/templates/frontend/assets/File-ef138bfc.js 0.73 kB │ gzip: 0.46 kB │ map: 0.67 kB
../../gradio/templates/frontend/assets/Model3D-b7ea2a4f.js 0.79 kB │ gzip: 0.49 kB │ map: 0.96 kB
../../gradio/templates/frontend/assets/Image-e13f5693.js 0.83 kB │ gzip: 0.48 kB │ map: 0.75 kB
../../gradio/templates/frontend/assets/Image-e276033b.js 0.89 kB │ gzip: 0.52 kB │ map: 1.61 kB
../../gradio/templates/frontend/assets/Form-2febdc0f.js 1.05 kB │ gzip: 0.63 kB │ map: 1.32 kB
../../gradio/templates/frontend/assets/UploadText-62b2f542.js 1.07 kB │ gzip: 0.63 kB │ map: 1.71 kB
../../gradio/templates/frontend/assets/index-23384a20.js 1.10 kB │ gzip: 0.64 kB │ map: 1.47 kB
../../gradio/templates/frontend/assets/Copy-94c1295d.js 1.11 kB │ gzip: 0.54 kB │ map: 0.99 kB
../../gradio/templates/frontend/assets/frontmatter-0618a5b6.js 1.16 kB │ gzip: 0.63 kB │ map: 3.10 kB
../../gradio/templates/frontend/assets/BlockLabel-3293803b.js 1.18 kB │ gzip: 0.66 kB │ map: 2.27 kB
../../gradio/templates/frontend/assets/index-b69d5ae6.js 1.27 kB │ gzip: 0.71 kB │ map: 0.72 kB
../../gradio/templates/frontend/assets/Empty-60c3cd08.js 1.43 kB │ gzip: 0.79 kB │ map: 2.25 kB
../../gradio/templates/frontend/assets/index-84484e8b.js 1.52 kB │ gzip: 0.78 kB │ map: 2.25 kB
../../gradio/templates/frontend/assets/yaml-95012b83.js 1.56 kB │ gzip: 0.76 kB │ map: 5.01 kB
../../gradio/templates/frontend/assets/module-a3cf0cc4.js 1.67 kB │ gzip: 0.90 kB │ map: 11.69 kB
../../gradio/templates/frontend/assets/BlockTitle-a8c85430.js 1.68 kB │ gzip: 0.92 kB │ map: 1.65 kB
../../gradio/templates/frontend/assets/Column-1982b173.js 1.71 kB │ gzip: 0.88 kB │ map: 2.17 kB
../../gradio/templates/frontend/assets/index-d490cd7e.js 1.80 kB │ gzip: 0.96 kB │ map: 1.09 kB
../../gradio/templates/frontend/assets/index-9b693ee9.js 1.90 kB │ gzip: 1.02 kB │ map: 2.03 kB
../../gradio/templates/frontend/assets/dsv-576afacd.js 2.19 kB │ gzip: 1.04 kB │ map: 9.55 kB
../../gradio/templates/frontend/assets/shell-86dd1d99.js 2.60 kB │ gzip: 1.23 kB │ map: 8.73 kB
../../gradio/templates/frontend/assets/index-ba579e4e.js 2.67 kB │ gzip: 1.58 kB │ map: 5.91 kB
../../gradio/templates/frontend/assets/r-3ca97919.js 2.97 kB │ gzip: 1.39 kB │ map: 10.59 kB
../../gradio/templates/frontend/assets/TabItem.svelte_svelte_type_style_lang-2b424fbd.js 3.02 kB │ gzip: 1.54 kB │ map: 5.25 kB
../../gradio/templates/frontend/assets/index-c91384f7.js 3.06 kB │ gzip: 1.38 kB │ map: 3.16 kB
../../gradio/templates/frontend/assets/index-3ab1986c.js 3.12 kB │ gzip: 1.44 kB │ map: 3.56 kB
../../gradio/templates/frontend/assets/index-7cecf8ae.js 3.25 kB │ gzip: 1.47 kB │ map: 4.06 kB
../../gradio/templates/frontend/assets/Upload-b264d2f5.js 3.34 kB │ gzip: 1.52 kB │ map: 5.72 kB
../../gradio/templates/frontend/assets/ModifyUpload-b81b0657.js 3.56 kB │ gzip: 1.54 kB │ map: 4.09 kB
../../gradio/templates/frontend/assets/index-1e1679ce.js 3.59 kB │ gzip: 1.56 kB │ map: 2.68 kB
../../gradio/templates/frontend/assets/dockerfile-d67bbd50.js 4.18 kB │ gzip: 1.68 kB │ map: 14.84 kB
../../gradio/templates/frontend/assets/Login-8feeaa34.js 4.19 kB │ gzip: 1.85 kB │ map: 4.20 kB
../../gradio/templates/frontend/assets/index-37761f98.js 4.87 kB │ gzip: 2.09 kB │ map: 5.71 kB
../../gradio/templates/frontend/assets/Button-b7606aab.js 5.08 kB │ gzip: 2.11 kB │ map: 21.64 kB
../../gradio/templates/frontend/assets/index-b59aea8b.js 5.34 kB │ gzip: 2.32 kB │ map: 6.21 kB
../../gradio/templates/frontend/assets/index-022758ca.js 5.63 kB │ gzip: 2.47 kB │ map: 8.55 kB
../../gradio/templates/frontend/assets/index-4c345cd6.js 5.84 kB │ gzip: 2.33 kB │ map: 4.38 kB
../../gradio/templates/frontend/assets/index-5f583a2e.js 6.02 kB │ gzip: 2.50 kB │ map: 6.96 kB
../../gradio/templates/frontend/assets/index-b8e1bb64.js 6.07 kB │ gzip: 2.61 kB │ map: 8.15 kB
../../gradio/templates/frontend/assets/index-bbfa8cab.js 6.10 kB │ gzip: 2.64 kB │ map: 7.31 kB
../../gradio/templates/frontend/assets/index-d6f37ded.js 7.19 kB │ gzip: 2.99 kB │ map: 9.44 kB
../../gradio/templates/frontend/assets/index-25cdba87.js 7.63 kB │ gzip: 3.03 kB │ map: 8.36 kB
../../gradio/templates/frontend/assets/module-a5a0afa0.js 10.07 kB │ gzip: 4.16 kB │ map: 13.01 kB
../../gradio/templates/frontend/assets/index-382170fc.js 11.12 kB │ gzip: 4.10 kB │ map: 15.55 kB
../../gradio/templates/frontend/assets/Textbox-1c2338d2.js 12.34 kB │ gzip: 4.32 kB │ map: 13.19 kB
../../gradio/templates/frontend/assets/index-96ec1cd1.js 12.58 kB │ gzip: 4.33 kB │ map: 11.99 kB
../../gradio/templates/frontend/assets/index-cf45da23.js 12.78 kB │ gzip: 5.00 kB │ map: 21.54 kB
../../gradio/templates/frontend/assets/index-e87b1906.js 13.00 kB │ gzip: 4.65 kB │ map: 16.47 kB
../../gradio/templates/frontend/assets/index-4e4d1e02.js 14.42 kB │ gzip: 5.69 kB │ map: 23.84 kB
../../gradio/templates/frontend/assets/index-c661a92d.js 17.10 kB │ gzip: 4.56 kB │ map: 26.59 kB
../../gradio/templates/frontend/assets/index-2db32c39.js 18.42 kB │ gzip: 6.66 kB │ map: 29.37 kB
../../gradio/templates/frontend/assets/index-016e370e.js 20.75 kB │ gzip: 6.81 kB │ map: 24.28 kB
../../gradio/templates/frontend/assets/index-f2683e77.js 21.42 kB │ gzip: 8.06 kB │ map: 43.27 kB
../../gradio/templates/frontend/assets/index-9107f8d6.js 22.10 kB │ gzip: 9.58 kB │ map: 41.15 kB
../../gradio/templates/frontend/assets/linear-58a44b5e.js 23.16 kB │ gzip: 9.26 kB │ map: 94.67 kB
../../gradio/templates/frontend/assets/index-c89f369f.js 25.09 kB │ gzip: 6.77 kB │ map: 36.34 kB
../../gradio/templates/frontend/assets/index-ca4bed01.js 26.23 kB │ gzip: 8.75 kB │ map: 108.27 kB
../../gradio/templates/frontend/assets/index-87955ed5.js 31.01 kB │ gzip: 11.88 kB │ map: 77.80 kB
../../gradio/templates/frontend/assets/index-aa64d725.js 35.91 kB │ gzip: 11.88 kB │ map: 64.76 kB
../../gradio/templates/frontend/assets/index-6b26d815.js 39.95 kB │ gzip: 13.66 kB │ map: 158.03 kB
../../gradio/templates/frontend/assets/wrapper-b7460963-69b64cfb.js 43.63 kB │ gzip: 13.05 kB │ map: 161.10 kB
../../gradio/templates/frontend/assets/StaticImage.svelte_svelte_type_style_lang-0566c0a3.js 52.02 kB │ gzip: 16.75 kB │ map: 223.22 kB
../../gradio/templates/frontend/assets/index-92842040.js 52.43 kB │ gzip: 15.09 kB │ map: 88.48 kB
../../gradio/templates/frontend/assets/index-4489a593.js 55.04 kB │ gzip: 19.40 kB │ map: 67.99 kB
../../gradio/templates/frontend/assets/index-cc93bd09.js 64.95 kB │ gzip: 24.29 kB │ map: 250.62 kB
../../gradio/templates/frontend/assets/index-e63b2f7b.js 79.74 kB │ gzip: 30.83 kB │ map: 109.31 kB
../../gradio/templates/frontend/assets/module-fcbc0651.js 93.51 kB │ gzip: 28.01 kB │ map: 580.09 kB
../../gradio/templates/frontend/assets/Blocks-bc7981ff.js 124.79 kB │ gzip: 38.25 kB │ map: 282.17 kB
../../gradio/templates/frontend/assets/index-854289ec.js 344.56 kB │ gzip: 111.37 kB │ map: 1,449.52 kB
../../gradio/templates/frontend/assets/index-43486035.js 368.54 kB │ gzip: 113.50 kB │ map: 1,363.39 kB
../../gradio/templates/frontend/assets/index-490a4868.js 3,545.83 kB │ gzip: 788.84 kB │ map: 6,715.33 kB
../../gradio/templates/frontend/assets/index-c5e20718.js 4,616.51 kB │ gzip: 1,432.92 kB │ map: 12,455.47 kB
(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 42.05s
(gpt4roi) lhj@:~/codes_MLLM/GPT4RoI/gradio-dev$
It seems your building process is OK. Can you try
import gradio as gr
def predict(inp):
image = inp['image']
boxes = inp['boxes']
sub_images = []
for box in boxes:
sub_images.append(image.crop(box))
return sub_images
demo = gr.Interface(fn=predict,
inputs=gr.Image(tool="boxes", type="pil"),
outputs=gr.Gallery())
demo.launch()
again?
Sorry for this inconvenience.
I try python app_box.py
again, and the demo remains same as before:
And no error information in the terminal:
May I ask why there Chinese characters? is it automatically translate or you modify something?
I don't modify anything. I think it automatically translate.
How about this code demo:
import gradio as gr
def predict(inp):
print("hello, world")
demo = gr.Interface(fn=predict,
inputs=gr.Image(tool="boxes", type="pil"),
outputs=gr.Gallery())
demo.launch()
Can you get any log in the terminal after click the submit button?
It seems the program doesn't step into predict
. The demo remains same as before.
Is it normal if you change tool="boxes"
to tool="sketch"
in L9 ?
It also output error in the web UI and no error information shows in the terminal.
Then, I am sorry it seems that this error is not about the gradio-box
since you can't even play with the default tools in gradio.
Did you ever play with graido installed from pip?
I switch to the conda environment for CaptionAnything. The demo works noramlly both on teminal and web UI.
May some dependencies don't satisfy gradio in my conda environment gpt4roi
?
I guess so. it is tricky to find the reason. what's your system version?
@jshilong , can you post the version of all packages in your local Linux machine? the one with one 4090 GPU in our lab. I remember gradio-box
works fine on that linux machine.
The system version is Ubuntu 22.04.
let us wait for @jshilong's information. If it still fails, I can help you via teamviewer at your convenience.
Thank you very much!!!
@linhaojia13
@linhaojia13 Hello, haojia. Have you resolved this problem? I have the same information above as you described.
@ShoufaChen @LiWentomng Hi, I solve the problem via the following installation order: 1) install the gradio follow the Caption-Anything instructions; 2) install the gradio-dev; 3) install the gpt4roi dependency.
Hello, thank you very much for your excellent contribution. But I encountered some issues while using the "app. py" code. My Graph Box is all correct. However, after entering text and pressing Enter, the run function cannot be triggered, which means that the demo has no response. After debugging, we still haven't found the problem. Could you please answer it.