Rajesh Karra
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def query_gemini(prompt):
|
|
| 46 |
iface = gr.Interface(
|
| 47 |
fn=query_gemini, # This is the function we call when the user asks something
|
| 48 |
inputs=gr.Textbox(lines=4, placeholder="Ask something..."), # Textbox for input
|
| 49 |
-
outputs=gr.Markdown(
|
| 50 |
title="Gemini 2.0 Flash with Gradio", # Title of the web app
|
| 51 |
description="Powered by Google's Gemini 2.0 Flash API" # A short description
|
| 52 |
)
|
|
|
|
| 46 |
iface = gr.Interface(
|
| 47 |
fn=query_gemini, # This is the function we call when the user asks something
|
| 48 |
inputs=gr.Textbox(lines=4, placeholder="Ask something..."), # Textbox for input
|
| 49 |
+
outputs=gr.Markdown(), # ← this enables formatted output
|
| 50 |
title="Gemini 2.0 Flash with Gradio", # Title of the web app
|
| 51 |
description="Powered by Google's Gemini 2.0 Flash API" # A short description
|
| 52 |
)
|