Skip to content

Commit

Permalink
chore: update something
Browse files Browse the repository at this point in the history
  • Loading branch information
lh0x00 committed Jan 14, 2025
1 parent ed95a8c commit e095e2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docsifer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def filter(self, record):
}

# Update your Docsifer API endpoints to the HF Space
DOCSIFER_API_URL = "https://lamhieu-docsifer.hf.space/v1/convert"
DOCSIFER_STATS_URL = "https://lamhieu-docsifer.hf.space/v1/stats"
DOCSIFER_API_URL = "http://localhost:7860/v1/convert"
DOCSIFER_STATS_URL = "http://localhost:7860/v1/stats"

# Markdown description for the main interface
APP_DESCRIPTION = f"""
Expand Down Expand Up @@ -331,7 +331,7 @@ def on_convert(file_bytes, base_url, api_key, cleanup):
outputs=[output_md, download_file],
)

with gr.Accordion("Analytics Stats"):
with gr.Tab("Analytics Stats"):
gr.Markdown(
"View Docsifer usage statistics (access count, token usage, etc.)"
)
Expand Down

0 comments on commit e095e2c

Please sign in to comment.