aquibmoin commited on
Commit
684b0cb
1 Parent(s): bee10b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -64,15 +64,15 @@ iface = gr.Interface(
64
  fn=chatbot,
65
  inputs=[
66
  gr.Textbox(lines=2, placeholder="Enter your message here...", label="Your Question"),
67
- gr.Textbox(lines=5, placeholder="Enter context here, separated by new lines...", label="Context (Optional)"),
68
- gr.Checkbox(label="Use Bi-Encoder for Context"),
69
  gr.Slider(50, 500, value=150, step=10, label="Max Tokens"),
70
  gr.Slider(0.0, 1.0, value=0.7, step=0.1, label="Temperature"),
71
  gr.Slider(0.0, 1.0, value=0.9, step=0.1, label="Top-p"),
72
  gr.Slider(0.0, 1.0, value=0.5, step=0.1, label="Frequency Penalty"),
73
  gr.Slider(0.0, 1.0, value=0.0, step=0.1, label="Presence Penalty")
74
  ],
75
- outputs="text",
76
  title="Exos - Your Exoplanet Research Assistant",
77
  description="Exos is a helpful assistant specializing in Exoplanet research. Provide context to get more refined and relevant responses.",
78
  )
 
64
  fn=chatbot,
65
  inputs=[
66
  gr.Textbox(lines=2, placeholder="Enter your message here...", label="Your Question"),
67
+ gr.Textbox(lines=5, placeholder="Enter context here, separated by new lines...", label="Context"),
68
+ gr.Checkbox(label="Use NASA SMD Bi-Encoder for Context"),
69
  gr.Slider(50, 500, value=150, step=10, label="Max Tokens"),
70
  gr.Slider(0.0, 1.0, value=0.7, step=0.1, label="Temperature"),
71
  gr.Slider(0.0, 1.0, value=0.9, step=0.1, label="Top-p"),
72
  gr.Slider(0.0, 1.0, value=0.5, step=0.1, label="Frequency Penalty"),
73
  gr.Slider(0.0, 1.0, value=0.0, step=0.1, label="Presence Penalty")
74
  ],
75
+ outputs=gr.Textbox(label="Exos says..."),
76
  title="Exos - Your Exoplanet Research Assistant",
77
  description="Exos is a helpful assistant specializing in Exoplanet research. Provide context to get more refined and relevant responses.",
78
  )