sureshnam9 commited on
Commit
3845b7e
·
verified ·
1 Parent(s): 5e29d9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -1,6 +1,19 @@
1
  import gradio as gr
2
- import requests
 
 
3
  import json
 
 
 
 
 
 
 
 
 
 
 
4
 
5
 
6
  #url = os.environ["TGI_GAUDI_ENDPOINT_URL"]
@@ -48,3 +61,8 @@ demo.launch()
48
  #result = llm.invoke("Why is the sky blue?")
49
  #print(result)
50
 
 
 
 
 
 
 
1
  import gradio as gr
2
+ import os
3
+ import argparse
4
+ import concurrent.futures
5
  import json
6
+ import requests
7
+ import logging
8
+ import math
9
+ import time
10
+ from itertools import cycle
11
+ from pathlib import Path
12
+ from langchain_community.llms import HuggingFaceEndpoint
13
+
14
+ import torch
15
+ import gradio as gr
16
+ from transformers import pipeline, AutoModelForSeq2SeqLM, AutoTokenizer
17
 
18
 
19
  #url = os.environ["TGI_GAUDI_ENDPOINT_URL"]
 
61
  #result = llm.invoke("Why is the sky blue?")
62
  #print(result)
63
 
64
+
65
+
66
+ #result = llm.invoke("Why is the sky blue?")
67
+ #print(result)
68
+