aditijuluri commited on
Commit
588b583
·
verified ·
1 Parent(s): be33d6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -5,6 +5,14 @@ import torch
5
  import gradio as gr
6
  import random
7
  client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
 
 
 
 
 
 
 
 
8
  #step 2 from semantic search read file
9
  # Open the water_cycle.txt file in read mode with UTF-8 encoding
10
  with open("reconext_file.txt", "r", encoding="utf-8") as file:
 
5
  import gradio as gr
6
  import random
7
  client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
8
+ #UI
9
+ with gr.Blocks() as chatbot:
10
+ gr.Image(
11
+ value="logo.png",
12
+ show_label=False,
13
+ show_share_button = False,
14
+ show_download_button = False)
15
+ gr.ChatInterface(respond, type="messages")
16
  #step 2 from semantic search read file
17
  # Open the water_cycle.txt file in read mode with UTF-8 encoding
18
  with open("reconext_file.txt", "r", encoding="utf-8") as file: