Rajesh Karra commited on
Commit
0728b8c
·
verified ·
1 Parent(s): e1ab1bd

Update app.py

Browse files

Changed "text" to "Markdown"

Files changed (1) hide show
  1. app.py +1 -1
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(), # ← 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
  )
 
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="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
  )