Deadmon commited on
Commit
09cd27a
·
verified ·
1 Parent(s): 9563c3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def predict(message: str, history: list[list[str]]) -> Generator[str, None, None
64
  yield f"Sorry, an error occurred: {e}"
65
 
66
  # --- Gradio Interface Setup ---
67
- with gr.Blocks(theme=gr.themes.Slate(), fill_height=True) as demo:
68
  with gr.Sidebar():
69
  gr.Markdown("<h1>Inference Provider</h1>")
70
  gr.Markdown(
@@ -88,4 +88,4 @@ with gr.Blocks(theme=gr.themes.Slate(), fill_height=True) as demo:
88
 
89
  # --- Launch the Application ---
90
  if __name__ == "__main__":
91
- demo.launch()
 
64
  yield f"Sorry, an error occurred: {e}"
65
 
66
  # --- Gradio Interface Setup ---
67
+ with gr.Blocks(fill_height=True) as demo:
68
  with gr.Sidebar():
69
  gr.Markdown("<h1>Inference Provider</h1>")
70
  gr.Markdown(
 
88
 
89
  # --- Launch the Application ---
90
  if __name__ == "__main__":
91
+ demo.launch()