ginipick commited on
Commit
c26cedb
·
verified ·
1 Parent(s): 61efe62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -213,13 +213,13 @@ header h1 {
213
  # Gradio Interface
214
  with gr.Blocks(css=custom_css, title="Multimodal & T2I Demo") as demo:
215
  with gr.Column(variant="panel"):
216
- gr.Markdown("<header><h1>Janus Multimodal Demo</h1></header>")
217
 
218
  with gr.Tabs():
219
  with gr.TabItem("Multimodal Understanding"):
220
  gr.Markdown("### Chat with Images")
221
  with gr.Row():
222
- image_input = gr.Image(label="Upload Image", type="numpy", tool="editor")
223
  with gr.Column():
224
  question_input = gr.Textbox(label="Question", placeholder="Enter your question about the image here...", lines=4)
225
  und_seed_input = gr.Number(label="Seed", precision=0, value=42)
@@ -273,3 +273,4 @@ with gr.Blocks(css=custom_css, title="Multimodal & T2I Demo") as demo:
273
  gr.Markdown("<footer style='text-align:center; padding:20px 0;'>Join our community on <a href='https://discord.gg/openfreeai' target='_blank'>Discord</a></footer>")
274
 
275
  demo.launch(share=True)
 
 
213
  # Gradio Interface
214
  with gr.Blocks(css=custom_css, title="Multimodal & T2I Demo") as demo:
215
  with gr.Column(variant="panel"):
216
+ gr.Markdown("<header><h1>Elegant Janus Multimodal & T2I Demo</h1></header>")
217
 
218
  with gr.Tabs():
219
  with gr.TabItem("Multimodal Understanding"):
220
  gr.Markdown("### Chat with Images")
221
  with gr.Row():
222
+ image_input = gr.Image(label="Upload Image", type="numpy")
223
  with gr.Column():
224
  question_input = gr.Textbox(label="Question", placeholder="Enter your question about the image here...", lines=4)
225
  und_seed_input = gr.Number(label="Seed", precision=0, value=42)
 
273
  gr.Markdown("<footer style='text-align:center; padding:20px 0;'>Join our community on <a href='https://discord.gg/openfreeai' target='_blank'>Discord</a></footer>")
274
 
275
  demo.launch(share=True)
276
+