Faisal commited on
Commit
403972d
Β·
1 Parent(s): a44d8af

Restore GPU version - remove CPU optimizations and restore GPU-compatible dependencies

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -150,8 +150,14 @@ with gr.Blocks(title="Brain MRI QA") as demo:
150
  with gr.Column():
151
  image_input = gr.Image(type="filepath", label="Upload Medical Image")
152
  question_box = gr.Textbox(label="Your Question about the Image", placeholder="Type your question here...")
153
- submit_btn = gr.Button("Submit")
154
- clear_btn = gr.Button("Clear")
 
 
 
 
 
 
155
  # Right column
156
  with gr.Column():
157
  # llm_output = gr.Textbox(label="Detailed LLM Answer", interactive=False, lines=10)
 
150
  with gr.Column():
151
  image_input = gr.Image(type="filepath", label="Upload Medical Image")
152
  question_box = gr.Textbox(label="Your Question about the Image", placeholder="Type your question here...")
153
+
154
+
155
+ with gr.Column():
156
+ submit_btn = gr.Button("Submit")
157
+ with gr.Column():
158
+ clear_btn = gr.Button("Clear")
159
+
160
+
161
  # Right column
162
  with gr.Column():
163
  # llm_output = gr.Textbox(label="Detailed LLM Answer", interactive=False, lines=10)