Spaces:
Runtime error
Runtime error
Commit
·
18d695e
1
Parent(s):
49027b5
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
import math
|
3 |
from langchain import PromptTemplate, HuggingFaceHub, LLMChain
|
4 |
import os
|
5 |
-
#os.environ['HUGGINGFACEHUB_API_TOKEN'] = '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'
|
6 |
llm=HuggingFaceHub(repo_id="google/flan-t5-xxl")
|
7 |
template = """
|
8 |
I want you to convert a number as word to an integer.
|
|
|
2 |
import math
|
3 |
from langchain import PromptTemplate, HuggingFaceHub, LLMChain
|
4 |
import os
|
|
|
5 |
llm=HuggingFaceHub(repo_id="google/flan-t5-xxl")
|
6 |
template = """
|
7 |
I want you to convert a number as word to an integer.
|