Spaces:
Runtime error
Runtime error
Commit
·
49027b5
1
Parent(s):
74e7f0d
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ 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 |
+
#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.
|